package com.highstockings.service;

import com.highstockings.model.Model;
import com.highstockings.model.ModelVo;

import java.util.List;

/**
 * Created by diablo13064 on 2018/3/28.
 */
public interface ModelService {
    List<Model> findAllModel();

    Model findModelByAlias(String alias);

    int addModelAlias(Model model);

    List<Model> findSidebarModelInfo();

    Model findModelById(int id);

    List<ModelVo> findAllModelVo(int pageNum,int pageSize);

    int upModelBuzz(int mid);

    List<ModelVo> findRecentModelVo();
}
